package com.xbongbong.pro.log.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * 复杂详情日志
 *
 * @Author: hongxiao
 * @date: 2021-12-18 18:46
 */
@Getter
@Setter
@ToString
public class DetailLogComplexPojo implements Serializable {
    private static final long serialVersionUID = 8741782010364572024L;
    /**
     * 操作类型
     */
    private String operate;
    /**
     * 业务类型名
     */
    private String operateModule;
    /**
     * 业务名
     */
    private String name;
    /**
     * 详情
     */
    private List<DetailLogPojo> detailList;


    public DetailLogComplexPojo () {}

    public DetailLogComplexPojo (String operate, String name, List<DetailLogPojo> detailList) {
        this.operate = operate;
        this.name = name;
        this.detailList = detailList;
    }
    public DetailLogComplexPojo (String name, List<DetailLogPojo> detailList) {
        this.name = name;
        this.detailList = detailList;
    }

}
